Бот для Telegram на Node.js, TypeScript и Telegraf js
0:00 - Введение 0:08 - Что будем делать? 1:32 - Создание бота в Telegram 2:39 - Подготовка проекта 4:27 - Установка зависимостей и сборка 6:40 - Сервис конфигурация и dotenv 14:40 - Класс бота 20:10 - Типизация контекста 22:32 - Создание класса команд 25:58 - Создание команды start 35:11 - Локальное хранение сессий 36:44 - Запуск бота 40:06 - Заключение
Бот для Telegram на Node.js, TypeScript и Telegraf js
0:00 - Введение 0:08 - Что будем делать? 1:32 - Создание бота в Telegram 2:39 - Подготовка проекта 4:27 - Установка зависимостей и сборка 6:40 - Сервис конфигурация и dotenv 14:40 - Класс бота 20:10 - Типизация контекста 22:32 - Создание класса команд 25:58 - Создание команды start 35:11 - Локальное хранение сессий 36:44 - Запуск бота 40:06 - Заключение
Telegram has no known backdoors and, even though it is come in for criticism for using proprietary encryption methods instead of open-source ones, those have yet to be compromised. While no messaging app can guarantee a 100% impermeable defense against determined attackers, Telegram is vulnerabilities are few and either theoretical or based on spoof files fooling users into actively enabling an attack.
Mr. Durov launched Telegram in late 2013 with his brother, Nikolai, just months before he was pushed out of VK, the Russian social-media platform he founded. Mr. Durov pitched his new app—funded with the proceeds from the VK sale—less as a business than as a way for people to send messages while avoiding government surveillance and censorship.